<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>
<html lang="zh-CN">
	<head>
		<link rel="stylesheet" type="text/css" href="static/bootstrap/css/bootstrap.min.css" media="all" />
	</head>
	<body class="body">
		<%@ include file="top.jsp" %>
		<div class="container">
			<div class="row">
				<div class="span9">
					<form class="form-horizontal" method="post" action="project.jspx?m=edit">
						<fieldset>
							<legend>编辑项目</legend>
								<div class="control-group">
									<label class="control-label" for="input01">项目名称</label>
									<div class="controls">
										<input id="input01" class="span5" name="name" value="${project.name }" type="text" x-webkit-speech="undefined">
										<p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="input01">项目描述</label>
									<div class="controls">
										<textarea class="span5" name="describe" rows="2">${project.describe }</textarea>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="multiSelect">负责人</label>
									<div class="controls">
										<select id="multiSelect" name="manager">
											<c:forEach items="${requestScope.memberList}" var="member">
												<option value="${member.id }">${member.name }</option>
											</c:forEach>
										</select>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="input01">项目成员</label>
									<div class="controls">
										<input id="input01" class="span5" type="text" x-webkit-speech="undefined">
									</div>
								</div>
								<div class="form-actions">
									<button class="btn btn-primary" type="submit">保存</button>
									<button class="btn" onclick="location.back()">返回</button>
								</div>
							</fieldset>
						</form>
					</div>
				</div>
			</div>
		</body>
</html>